package com.sk.sk_frame_cloud.service;

import com.sk.sk_frame_cloud.entity.Functions;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sk.sk_frame_cloud.param.SysFunctionParam;
import com.sk.sk_frame_cloud.res.CommonResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jiaok
 * @since 2023-12-19
 */
public interface IFunctionsService extends IService<Functions> {


    /**
     * 操作子项目的function表
     * 同时需要在子项目的权限表中新增一条记录
     * @param dbCode
     * @param functionParam
     */
    void operaFollowFunction(String dbCode, SysFunctionParam functionParam);

    /**
     * 移除子项目的功能、权限信息
     * @param dbCode
     * @param functionParam
     */
    void removeFollowFunctionAndPermission(String dbCode, SysFunctionParam functionParam);
}
